package pokerantani.v2.linematchers;

import java.util.regex.Pattern;

import pokerantani.v2.LineMatcher;
import pokerantani.v2.RE;


public class ButtonSeat extends LineMatcher {
	static final Pattern pButtonSeat_FTP = Pattern.compile("The button is in seat #(" + RE.INT + ")");
	
	public int seatNumber;
	
	public boolean match(String line) {
		if(match(line, pButtonSeat_FTP)) {
			seatNumber = groupInt(1);
			return true;
		}
		return false;
	}

}
